package com.rm.zeyou.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.rm.zeyou.entity.Notice;
import com.rm.zeyou.response.ApiRestResponse;
import com.rm.zeyou.vo.request.NoticeListVo;
import com.rm.zeyou.vo.response.NoticeListResponseVo;

/**
 * <p>
 * 公告ID 服务类
 * </p>
 *
 * @author YanYang
 * @since 2025-04-07 10:56:04
 */
public interface NoticeService extends IService<Notice> {

    ApiRestResponse<String> indexNotice();

    ApiRestResponse<PageInfo<NoticeListResponseVo>> noticeList(Long userId, NoticeListVo requestVo);

    ApiRestResponse<Integer> readNotice(Long userId, Long noticeId);
}
